﻿@model FirmaKurierska.Models.Przesylka
@{
    ViewBag.Title = "Zamów przesyłkę";
}

@using (Html.BeginForm())
{
    <div class="col-lg-6">
        <div class="well">
            <fieldset>
                <legend>@ViewBag.Title</legend>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.Imie, "Imię:")</label>
                    @Html.TextBoxFor(m => m.Imie, new { id = "Text1", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.Imie)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.Nazwisko, "Nazwisko:")</label>
                    @Html.TextBoxFor(m => m.Nazwisko, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.Nazwisko)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.Miasto, "Miasto:")</label>
                    @Html.TextBoxFor(m => m.Miasto, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.Miasto)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.Ulica, "Ulica:")</label>
                    @Html.TextBoxFor(m => m.Ulica, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.Ulica)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.NumerDomu, "NumerDomu:")</label>
                    @Html.TextBoxFor(m => m.NumerDomu, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.NumerDomu)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.NumerMieszkania, "NumerMieszkania:")</label>
                    @Html.TextBoxFor(m => m.NumerMieszkania, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.NumerMieszkania)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.nrTelefonu, "NrTelefonu:")</label>
                    @Html.TextBoxFor(m => m.nrTelefonu, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.nrTelefonu)
                </div>
                <div class="form-group">
                    <label>@Html.LabelFor(m => m.Waga, "Waga:")</label>
                    @Html.TextBoxFor(m => m.Waga, new { id = "Text2", @class = "form-control" })
                    @Html.ValidationMessageFor(m => m.Waga)
                </div>
                <div class="form-group">
                    <input id="Button1" type="submit" value="Zamów" class="btn btn-default" />
                </div>
            </fieldset>
        </div>
    </div>
}

@ViewBag.Waga